package com.jz.community.modulemine.bean;

import java.util.List;

public class SignDataBean {

    /**
     * id : 1
     * platformId : null
     * platformLink : null
     * status : 1
     * boxStatus : 1
     * userId : 500000
     * userLink : null
     * signDate : 2018-06-25 09:09:38
     * signCount : 7
     * phase : 1
     * prizeList : [{"goodId":1,"title":"农夫山泉空泉水-社区人电商商品","image":"[http://goodspics.oss-cn-beijing.aliyuncs.com/1528774977792.jpg?Expires=1844134973&OSSAccessKeyId=LTAIyu9pVcg3oPg9&Signature=mXxDrW1u%2FbZK5iMWz9AEomlBWh0%3D]"},{"goodId":2,"title":"圣桑-社区人楼下小店","image":"[http://goodspics.oss-cn-beijing.aliyuncs.com/1528774977792.jpg?Expires=1844134973&OSSAccessKeyId=LTAIyu9pVcg3oPg9&Signature=mXxDrW1u%2FbZK5iMWz9AEomlBWh0%3D]"}]
     * user : {"residualIntegral":12800583,"userId":500000}
     * links : {"self":{"href":"http://10.41.0.114:8091/sgn/signinfo/1"}}
     */

    private String id;
    private String platformId;
    private String platformLink;
    private String status;//签到状态
    private String boxStatus;//宝箱是否已领取
    private String userId;
    private String userLink;
    private String signDate;
    private String signCount;//签到天数
    private int phase;
    private UserBean user;
    private List<PrizeListBean> prizeList;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPlatformId() {
        return platformId;
    }

    public void setPlatformId(String platformId) {
        this.platformId = platformId;
    }

    public String getPlatformLink() {
        return platformLink;
    }

    public void setPlatformLink(String platformLink) {
        this.platformLink = platformLink;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getBoxStatus() {
        return boxStatus;
    }

    public void setBoxStatus(String boxStatus) {
        this.boxStatus = boxStatus;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserLink() {
        return userLink;
    }

    public void setUserLink(String userLink) {
        this.userLink = userLink;
    }

    public String getSignDate() {
        return signDate;
    }

    public void setSignDate(String signDate) {
        this.signDate = signDate;
    }

    public String getSignCount() {
        return signCount;
    }

    public void setSignCount(String signCount) {
        this.signCount = signCount;
    }

    public int getPhase() {
        return phase;
    }

    public void setPhase(int phase) {
        this.phase = phase;
    }

    public UserBean getUser() {
        return user;
    }

    public void setUser(UserBean user) {
        this.user = user;
    }

    public List<PrizeListBean> getPrizeList() {
        return prizeList;
    }

    public void setPrizeList(List<PrizeListBean> prizeList) {
        this.prizeList = prizeList;
    }

    public static class UserBean {
        /**
         * residualIntegral : 12800583
         * userId : 500000
         */

        private String residualIntegral;
        private String userId;

        public String getResidualIntegral() {
            return residualIntegral;
        }

        public void setResidualIntegral(String residualIntegral) {
            this.residualIntegral = residualIntegral;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }
    }

    public static class PrizeListBean {
        /**
         * goodId : 1
         * title : 农夫山泉空泉水-社区人电商商品
         * image : [http://goodspics.oss-cn-beijing.aliyuncs.com/1528774977792.jpg?Expires=1844134973&OSSAccessKeyId=LTAIyu9pVcg3oPg9&Signature=mXxDrW1u%2FbZK5iMWz9AEomlBWh0%3D]
         */

        private String goodId;
        private String title;
        private String image;
        private int checked;//是否是中奖产品 0 不是 1 是

        public String getGoodId() {
            return goodId;
        }

        public void setGoodId(String goodId) {
            this.goodId = goodId;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public int getChecked() {
            return checked;
        }

        public void setChecked(int checked) {
            this.checked = checked;
        }
    }
}
